#ifndef SUBOPERATOR_H
#define SUBOPERATOR_H

#include "operator.h"

class SubOperator : public QObject, public Operator
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID OperatorInterfaceiid)
    Q_INTERFACES(Operator)
public:
    SubOperator(QObject *parent = nullptr);

    // Operator interface
public:
    QString name() const;
    qreal Execute(qreal a, qreal b);
};

#endif // SUBOPERATOR_H
